Ext.define('Admin.view.main.MainContainerWrap', {
    extend: 'Ext.container.Container',
    xtype: 'maincontainerwrap',

    requires: [
        'Ext.layout.container.Border'
    ],

    scrollable: 'y',

    layout: {
        type: 'border',
        align: 'stretchmax',

        animate: true,
        animatePolicy: {
            x: true,
            width: true
        }
    },

    beforeLayout: function () {
        // var me = this,
        //     height = Ext.Element.getViewportHeight() - 64,
        //     navTree = me.getComponent('navigationTreeList');

        // me.minHeight = height;

        // navTree.setStyle({
        //     'min-height': height + 'px'
        // });

        // me.callParent(arguments);
    }
});